BoltCheckout\WC_Bolt_Data_Manager A

Total Complexity 54
Dependencies 5
Dependents 1
Total lines 679
Lines of code 346
Logical lines of code 144
Comment lines 281
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
get_bolt_post_meta()
S
52 6 27
cleanup_historic_expired_session()
S
50 4 31
get_order_id_by_reference()
S
59 4 14
cleanup_expired_session()
S
53 3 23
insert_external_customer_id()
S
55 3 22
update_customer_id()
S
58 3 17
get_session()
S
58 3 16
insert_session()
S
55 2 22
create_bolt_session_customer_id_table()
S
56 2 21
create_woocommerce_bolt_external_customer_ids_table()
S
56 2 21
get_bolt_sessions_schema()
S
58 2 19
update_session()
S
58 2 17
delete_session()
S
59 2 16
update_session_time()
S
62 2 13
get_customer_id()
S
61 2 13
get_session_created_at_time()
S
61 2 13
get_by_external_id()
S
61 2 13
get_instance()
S
72 2 6
__clone()
S
78 1 3
__wakeup()
S
78 1 3
reset()
S
80 1 3
__construct()
S
76 1 4
init()
S
77 1 3
create_bolt_sessions_table()
S
71 1 6